package com.ruoqing.log.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoqing.core.domain.rqlog.LogEntity;
import org.springframework.web.bind.annotation.RequestParam;

/**
	* @author YaoXian
	* @title: BaseLogService
	* @projectName ruoxi-blog
	* @description: 若兮微服务 -
	* @date 2020-12-07 16:52
	*/
public interface BaseLogService {
		/**
			* 收集日志业务
			* @param logEntity
			*/
		void saveBaseLog(LogEntity logEntity);
		
		/**
			* 分页查询日志
			* @param currentPage
			* @param pageSize
			* @return Page<LogEntity>
			*/
		Page<LogEntity> selectLogByPage(Integer currentPage,Integer pageSize);
		
		/**
			*  根据ID删除基础日志
			* @param logId
			* @return Integer
			*/
		Integer deleteBaseLog(Integer logId);
		
}
